import java.util.Arrays;

import static org.junit.jupiter.api.Assertions.*;

class QuickSortTest {

    @org.junit.jupiter.api.Test
    void quickSort() {
        int[] a = {4, 3, 2, 10, 12, 1, 5, 6};
        QuickSort.quickSort(a,1,10);
//        System.out.println(Arrays.toString(a));
        assertEquals(Arrays.toString(a), "[1, 2, 3, 4, 5, 6, 10, 12]");
    }
}